var students = require('./student');
var teacher = require('./teacher');

// teacher.add('张三');

function add (tname,sname){
    teacher.add(tname)
    sname.forEach((item,index) => {
        students.add(`NO.${index}${item}`);
    });
}


// exports.add = add;
module.exports = add;